package com.kun.service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kun.domain.TFollowingGroup;
import com.kun.domain.TUserFollowing;

import java.util.List;

public interface ITUserFollowingService extends IService<TUserFollowing> {

    /**
     * 添加用户关注
     */
    boolean addUserFollowings(TUserFollowing tUserFollowing);

    /**
     * 获取登录用户关注列表
     */
    List<TFollowingGroup> getUserFollowings();

    /**
     * 获取登录用户粉丝列表
     */
    List<TUserFollowing> getUserFans();

    /**
     * 获取指定用户粉丝列表
     */
    List<TUserFollowing> getUserFans(Long userId);

    /**
     * 分页获取用户信息列表
     */
    String pageUserInfo(TUserFollowing tUserFollowing);
}
